package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 团队统计数据
 * </p>
 *
 * @author 
 * @since 2023-08-02
 */
@Getter
@Setter
@TableName("h2_app_user_statistics_team")
@Schema(name = "UserStatisticsTeam", description = "团队统计数据")
public class UserStatisticsTeam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "团队人数")
    private Integer num;

    @Schema(description = "注册人数")
    private Integer registerNum;

    @Schema(description = "团队充提差额")
    private BigDecimal teamDifference;

    @Schema(description = "待提现金额")
    private BigDecimal waitWithdrawal;

    @Schema(description = "提现金额")
    private BigDecimal teamWithdrawal;

    @Schema(description = "充值金额")
    private BigDecimal teamRecharge;

    @Schema(description = "当现余额")
    private BigDecimal teamBalance;

    @Schema(description = "是否充值")
    private Integer isRecharge;

    @Schema(description = "累计团队收益")
    private BigDecimal cumulative;

    @Schema(description = "团队ID  店铺人员关联同ID")
    private Long teamId;

    @Schema(description = "近期新增人数")
    private Integer recentAdd;

    @Schema(description = "过期人数")
    private Integer expireNumber;

    @Schema(description = "近期过期人数")
    private Integer expireRecent;

    @Schema(description = "代理人名称")
    private String name;
}
